package com.itcast.demo13;

import java.util.Date;

public class Student {
    private  int id;
    private  String zuo;
    private Date brithday;

    public Student(int id, String zuo, Date brithday) {
        this.id = id;
        this.zuo = zuo;
        this.brithday = brithday;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getZuo() {
        return zuo;
    }

    public void setZuo(String zuo) {
        this.zuo = zuo;
    }

    public Date getBrithday() {
        return brithday;
    }

    public void setBrithday(Date brithday) {
        this.brithday = brithday;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", zuo='" + zuo + '\'' +
                ", brithday=" + brithday +
                '}';
    }
}
